<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header','admin');?>
<form name="myform" action="?m=ushop&c=sale&a=goods_import" method="post">
<div class="pad_10">
<div class="table-list">
<div class="col-2 lf mr10" style="width:98%">
	<h6><?php echo L('goods_import')?></h6>
	<div class="content">
<form action="goods_batch.php?act=upload" method="post" enctype="multipart/form-data" name="theForm" onsubmit="return formValidate()">
<table cellspacing="1" cellpadding="3" width="100%">
<tr>
    <td class="label"><?php echo L('export_format')?></td>
    <td><select name="data_cat" id="data_cat">
      	<option value="0"><?php echo L('select_please')?></option>
      	<option value="ushop">ushop支持数据格式</option>
        <option value="taobao">淘宝助理支持数据格式</option>
        <option value="paipai">拍拍助理支持数据格式</option>
        <option value="paipai3">拍拍助理3.0支持数据格式</option>  
   	 </select>
    </td>
  </tr>
  <tr>
    <td class="label"><?php echo L('goods_cat')?></td>
    <td><select name="cat" id="cat">
      	<option value="0"><?php echo L('select_please')?></option>
  		 </select>
    </td>
  </tr>
  <tr>
    <td class="label"><?php echo L('file_charset')?></td>
    <td>
    <select name="charset" id="charset">
    </select>
    </td>
  </tr>
  <tr>
    <td class="label">
      <?php echo L('csv_file')?></td>
    <td><?php echo form::upfiles('csvfile', 'csvfile', '', 'ushop', '', '30', '', 'readonly', 'csv')?>
    <br />
      <span class="notice-span" style="display:block" id="noticeFile"><?php echo L('notice_file')?></span></td>
  </tr>

  <tr>
    <td>&nbsp;</td>
    <td><a href="goods_batch.php?act=download&charset={$charset}">{$download}</a></td>
  </tr>

  <tr align="center">
    <td colspan="2"><input name="submit" type="submit" id="submit" value="<?php echo L('submit')?>" class="button" /></td>
  </tr>
</table>
</form>
<table width="100%">
  <tr>
    <td>&nbsp;</td>
    <td width="80%"><?php echo L('use_help')?></td>
    <td>&nbsp;</td>
  </tr>
</table>
	</div>
</div>
</div>
</div>
</div>
</form>
<script language="JavaScript">
<!--
	window.top.$('#display_center_id').css('display','none');
//-->
</script>
</body>
</html>
